@echo off

set _currentDir=%cd%

set MVN_OPTS=-DskipTests -s "%PROJECTS_HOME%\settings-def%_maven_setting_file_suffix%.xml"

rem install OpenSwing - client module
call mvn install:install-file ^
        -DgroupId=org.openswing.swing ^
        -DartifactId=clientos ^
        -Dversion=2.3 ^
        -Dpackaging=jar ^
        -Dfile="%_currentDir%\clientos.jar" %MVN_OPTS%
call mvn install:install-file ^
        -DgroupId=org.openswing.swing ^
        -DartifactId=clientos ^
        -Dversion=2.3 ^
        -Dclassifier=sources ^
        -Dpackaging=jar ^
        -Dfile="%_currentDir%\srcclientos.jar" %MVN_OPTS%

rem install OpenSwing - common module
call mvn install:install-file ^
        -DgroupId=org.openswing.swing ^
        -DartifactId=commonos ^
        -Dversion=2.3 ^
        -Dpackaging=jar ^
        -Dfile="%_currentDir%\commonos.jar" %MVN_OPTS%
call mvn install:install-file ^
        -DgroupId=org.openswing.swing ^
        -DartifactId=commonos ^
        -Dversion=2.3 ^
        -Dclassifier=sources ^
        -Dpackaging=jar ^
        -Dfile="%_currentDir%\srccommonos.jar" %MVN_OPTS%

